package org.csu.mybigpro.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.csu.mybigpro.domain.QuizGameSession;

import java.util.Map;

public interface IQuizGameService extends IService<QuizGameSession> {
    QuizGameSession startGame(String topic, String difficulty, Integer userId) throws Exception;
    Map<String, Object> submitAnswer(Long sessionId, int questionIndex, String answer);
}